<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .item {
            width: 250px;
            height: 300px;
            border: 1px solid #000;
            transition: all 500ms;
            margin: 100px auto;
        }
        .item:hover {
            transform: translateY(-4px);
            box-shadow: 0 0 10px 5px #ccc;
        }
    </style>
</head>
<body>
    <div class="item"></div>
</body>
</html>